#include <iostream>
using namespace std;

int main() {
    int n;
    cin >> n;

    int number[n];
    for (int i = 0; i < n; i++)
    {
        cin >> number[i];
    }
    for (int j = n-1; j >= 0; j--)
    {
        cout << number[j] << " ";
    }
    
    
    return 0;
}